Repository navigation
Conversation
Steering a native command (/compact, /review, ...) into a running turn makes the provider run it in place of the turn's task. Steer on a queued command row, and an explicit steer of a command, now hold it at the front of the queue until the turn ends, the same way turn-boundary agents already do. The queue row offers "Send next" for such a row instead of "Steer". `native_command` moves to zeron-proto so the engine and the queue row agree on what counts as a command. Inspired by: pingdotgg/t3code@c385377544
Ledger rows for 332 T3 commits; new T3-GAPS rows; slash-command hold is PR #116.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What T3 added
pingdotgg/t3code@c385377544: a slash command sent during a turn waits instead of steering, because a provider runs a steered command in place of the turn's task. The queue row's steer action becomes "move this command to the front of the queue".
How Godspeed does it
SessionsEngine::holds_command_until_turn_end: a turn is in flight and the prompt is a native command for the live harness.DocHost::steer_queued_now(queue row Steer, Cmd+Enter): a command row with no attachments goes to the front of the queue (the existing send-next path) and the drain delivers it the moment the turn ends.DocHost::deliver_prompt(explicit steer): a command is held until the turn ends, like a turn-boundary agent's steer.Pickers::steers_prompt_mid_turn). The Send next tooltip now reads "Send when the current turn ends", which also fits agents that can't steer.native_commandmoved fromengine/src/sessions.rstozeron_proto::invocationso the engine and UI use the same rule.Screenshots not available (unattended run).
Tests
message_queue::steer_now_sends_a_command_next_instead_of_into_the_turn(fails without the engine change, passes with it).cargo build -p godspeed,cargo check --workspace --tests: OK.cargo test -p zeron-engine --no-fail-fast: 1178 passed. The only 2 failures (git_actions_gh pull_requests_and_publishing_go_through_gh,local_first local_runtime_checks_public_releases_without_starting_edge_links) also fail on main.queue+pickersfilters: 124 passed.zeron-protolib: 160 passed. The 1 failure (workspace::tests::engine_info_uses_camel_case_fields, expects nofresh-session-v1capability) is in a test this PR doesn't touch.Check by eye
While a Claude or Codex turn runs, queue
/compact: the row should show Send next, not Steer. Pressing it should move the row to the front of the queue and run it when the turn ends. A plain-text row still shows Steer.